package com.kly.domain.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息
 * @TableName message
 */
@Data
public class MessageVO implements Serializable {
    private static final long serialVersionUID = -7913879993103284033L;
    /**
     * 
     */
    private Long id;

    /**
     * 发送者ID
     */
    private Long senderId;

    /**
     * 发送者昵称
     */
    private String senderName;

    /**
     * 发送者头像
     */
    private String senderAvatar;

    /**
     * 接收者类型 0-public 1-private
     */
    private Integer receiverType;

    /**
     * 接收者ID
     */
    private Long receiverId;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 创建时间
     */
    private Date createTime;

}